package com.wcpdoc.exam.core.service;

import com.wcpdoc.core.entity.PageResult;
import com.wcpdoc.core.service.BaseService;
import com.wcpdoc.exam.core.entity.UserQuestionType;

import java.util.List;

public interface UserQuestionTypeService extends BaseService<UserQuestionType> {
    /**
     * 设置某题库有权限的人
     * @param questionTypeId
     * @param userIdList
     * @param updateUserId
     * @return
     */
    PageResult setting(Integer questionTypeId, List<Integer> userIdList,Integer updateUserId);

    /**
     * 获取某题库有权限的人ID
     * @param questionTypeId
     * @return
     */
    PageResult getUserListByQuestionTypeId(Integer questionTypeId);
}
